package the.broccoli.uc.entity;

import org.wisteria.framework.web.mvc.entity.SuperEntity;
import com.baomidou.mybatisplus.annotation.*;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author lei.liu
 * @since 2018-10-12
 */
@TableName("uc_user")
public class User extends SuperEntity {

    private static final long serialVersionUID = -6571824753470782011L;
    /**
     * 用户ID。主键
     */
    @TableId("user_id")
    private String userId;
    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 账号
     */
    @TableField("account")
    private String account;

    /**
     * 登录密码
     */
    @TableField("password")
    private String password;

    /**
     * 用户名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 手机号码
     */
    @TableField("phone")
    private String phone;

    /**
     * 电子邮件
     */
    @TableField("email")
    private String email;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                ", userId=" + userId +
                ", account=" + account +
                ", password=" + password +
                ", userName=" + userName +
                ", phone=" + phone +
                ", email=" + email +
                "}";
    }
}
